Reseller Get User API
POST /resellerGetUser
Description
This API endpoint retrieves detailed information about a user associated with a specific reseller.
Request Body
The request uses GraphQL to perform the resellerGetUser query, which requires an id variable to specify the user.
Query:
query resellerGetUser ($id: Int) {
    resellerGetUser (id: $id) {
        id
        email
        username
        resellerId
        role
        enabled
        radAccess
        radAccessClear
        createdAt
        updatedAt
    }
}
GraphQL Variables:
{
  "id": 0
}
Example Request:
curl --location '' \
--header 'Content-Type: application/json' \
--data '{"query":"query resellerGetUser ($id: Int) {\n    resellerGetUser (id: $id) {\n        id\n        email\n        username\n        resellerId\n        role\n        enabled\n        radAccess\n        radAccessClear\n        createdAt\n        updatedAt\n    }\n}","variables":{"id":0}}'
Response:
- 
Success (200 OK): - The response includes detailed information about the user associated with the given reseller ID.
 {
 "data": {
 "resellerGetUser": {
 "id": 123,
 "email": "user@example.com",
 "username": "username123",
 "resellerId": 45,
 "role": "admin",
 "enabled": true,
 "radAccess": true,
 "radAccessClear": false,
 "createdAt": "2023-01-01T12:00:00Z",
 "updatedAt": "2024-01-01T12:00:00Z"
 }
 }
 }
- 
Error (4XX/5XX): - If there is an issue with the request or server error, the response will include an error message and status code.
 
Note:
This endpoint is useful for retrieving specific user details within a reseller's organization, including their access rights and status. Ensure that the id provided is valid to get accurate results.